]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
statusMenu: temporarily drop Suspend menu item
authorRay Strode <rstrode@redhat.com>
Fri, 4 Feb 2011 22:25:20 +0000 (17:25 -0500)
committerRay Strode <rstrode@redhat.com>
Fri, 4 Feb 2011 22:25:20 +0000 (17:25 -0500)
It doesn't currently work, so hide it for now.

It's not clear it's going to stay around long term,
anyway. If it doesn't we can delete the code, then.
Otherwise, we can add the code back when we have
something that works.

https://bugzilla.gnome.org/show_bug.cgi?id=636680

js/ui/statusMenu.js

index f834aad49726a0740ccf7c113484f05e86cf3f86..e09c851e996eb70dde1d2d095b62f4a20fe5c452 100644 (file)
@@ -139,9 +139,12 @@ StatusMenuButton.prototype = {
         item = new PopupMenu.PopupSeparatorMenuItem();
         this.menu.addMenuItem(item);
 
-        item = new PopupMenu.PopupMenuItem(_("Suspend..."));
-        item.connect('activate', Lang.bind(this, this._onShutDownActivate));
-        this.menu.addMenuItem(item);
+        // This is temporarily removed, see
+        // http://bugzilla.gnome.org/show_bug.cgi?id=636680
+        // for details.
+        //item = new PopupMenu.PopupMenuItem(_("Suspend..."));
+        //item.connect('activate', Lang.bind(this, this._onShutDownActivate));
+        //this.menu.addMenuItem(item);
 
         item = new PopupMenu.PopupMenuItem(_("Shut Down..."));
         item.connect('activate', Lang.bind(this, this._onShutDownActivate));